#ifndef TEXT_H
#define TEXT_H

#include "objet3D.h"
#include "GL/freeglut.h"
#include <string>
#include "information.h"
#include <cstddef>


using namespace std;

class Text : public Objet3D
{

  friend class Information;
  public:
  Text(void* font = GLUT_BITMAP_TIMES_ROMAN_24, string * str = NULL);
  ~Text();

  inline void * getFont(){return _font;}
  inline string * getText() {return _str;}

  protected:
  void _draw();
  void * _font;
  string * _str;
};
#endif
